branchrust_reboot/main/UZI 9mmcancel
91 Commits over 304 Days - 0.01cph!
infoRust development commits are now under /Rust/
worldmodel updates
w_uzi (used for the dropped worldmodel only) is now:
- folded
- one combined mesh ( body & mag)
- uses naming convention
- static (non skinned mesh)
merge from Uzi texture fix branch
Uzi: stock always folded when holstered, unfolds on deploy
- new w_uzi deploy_stock anim with the stock unfold, hooked up in w_uzi controller
- 3p deploy_stock updated to match the viewmodel unfold
- Uzi.cs: holstered world model always shows the stock folded (visual only, still in rifle mode)
- updated 3p aniims to match correct bolt position, fix out of sync issues
- New AttachmentMountScale component: client-only, resets parented mods to localScale 1 so they inherit the mount's scale
- Entity parenting uses worldPositionStays, which counter-scales mods and cancelled or skewed any mount scale in 3p
- Added to uzi.entity.prefab flashlight.attachment and barrel mounts, scales tuned for the uzi
Remove requirement to hold firemode button to change stock, now a single press
Clear unused reloadSounds array
Fix not always using intended automatic fire rate whilst placed in a turret
Add game tip when equipping Uzi if fire mode button is unset
Earlier commit removed compatibility for variable scope mod. Variable scope still blacklisted, 8x scope also blacklisted for real this time.
Adjusted Uzi repair cost. Removed need for metal fragments.
couple more attachment points zero'd
Uzi viewmodel
- added shell to top of mag
- set up system to hide shell on zero ammo count
- added events to show shell on return of new mag during reloads
Fix rotation tilt on viewmodel barrel attachment mods
Fix muzzle flash points on third person worldmodel
Remove mod compatibility for 8x scope and burst module
Uzi - charm support and world model Picatinny rail
- world model rig re-exported with Picatinny rail, shown only when a sight is attached
- charm set up in 1p/3p
- supportsAccessories enabled on item
- attachment positions adjusted in 3p
UZI viewmodel
- Add Picatinny rail to rig & updated
- set up rail to show when sights are attached
- adjusted attachment positions
- rail/mag ViewModelRenderers
Use stock extended properties whilst in a turret, regardless of how the stock set
Adjust various UZI mod points
Removed LODs from UZI viewmodel
viewmodel updates
- tightened up fire anims
- edited reload & bolt pulls to avoid clipping when using a scope
- added a new deploy with stock so it can be played at correct speed
- added sound events
- set deploy stock in animator back to 1
- scope attachment position update
Fixed AO issues on receiver.
Various fixes & iterations
FX PostIK tweak to facilitate very brief flashes.
FX improvements and fixes.
Fix stock on the world model sometimes being in the wrong state
- viewmodel anim updates
- controller updates (no need for sep ADS fire and dryfire with no stock mode)
- anim event timing tweaks
Disable researchable and craftable
Fix sight mod overriding ADS values when stock is collapsed
Add shield compatibility when stock is folded
exported updated 3p uzi anims
custom spine offset added
exported wip 3p uzi animations
Uzi 3p: fix stock deploy after weapon swap + stock swing on holster
- player + world controllers fall back to the stock deploy if the stock flag arrives late
- world stock deploy holds idle_stock instead of playing the swing
- world animator keeps state on disable so holstering doesn't replay the swing
Adjust recoil, weapon rack config
Add [+firemode] to ReplaceTokens
Various fixes
Add ForceActiveViewmodelAnimatorUpdate to viewmodel anim controller
Changing the uzi stock now blocks other actions, like a reload
Holstering before the stock change animation finishes cancels the stock change
Fix animation issue when firing first shot upon entering play mode
Fix admire animation not being cancelled
Adjust ADS settings again